import React from "react";
import { router } from "./router/router.jsx";
import { BrowserRouter, useRoutes } from "react-router-dom";
const Index = () => {
  const El = () => useRoutes(router);
  return (
    <BrowserRouter>
      <El />
    </BrowserRouter>
  );
};

export default Index;
